
import javax.swing.ImageIcon;
import javax.swing.JLabel;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Riso
 */
public class pozadie extends JLabel{
    public pozadie(){
        this.setBounds(0, 0, 400, 300);
//        ImageIcon pozadie = new ImageIcon("img/pozadie.png");
        this.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/pozadie.png")));
//        this.setIcon(pozadie);
    }
    
}
